/*
 * ConceptualBO.java
 *
 * Created on March 26, 2007, 6:05 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

/**
 * It contains the set and get methods for the respective DAO
 * @author Rick
 */
public class ConceptualBO extends ProductBO {
    private String productName;
    private String description;
    private String manufacturer = null;
    private String averageCost;
    private String sku;
    private String categoryID = null;
    private String warrantyID = null;
    
    /** Creates a new instance of ConceptualBO */
    public ConceptualBO() {
    }

    /**
     * gets the product name
     * @return product name
     */
    public String getProductName() {
        return productName;
    }

    /**
     * sets the product name
     * @param productName 
     */
    public void setProductName(String productName) {
        this.productName = productName;
        setDirty(true);
    }

    /**
     * gets the description
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * sets the description
     * @param description 
     */
    public void setDescription(String description) {
        this.description = description;
        setDirty(true);
    }

    /**
     * gets the name of the manufacturer
     * @return manufacturer
     */
    public String getManufacturer() {
        return manufacturer;
    }

    /**
     * sets the manufacturer
     * @param manufacturer 
     */
    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
        setDirty(true);
    }

    /**
     * gets the average cost
     * @return average cost
     */
    public String getAverageCost() {
        return averageCost;
    }

    /**
     * This method sets the average cost
     */
    public void setAverageCost(String averageCost) {
        this.averageCost = averageCost;
        setDirty(true);
    }

    /**
     * This method returns the SKU
     * @return SKU
     */
    public String getSku() {
        return sku;
    }

    /**
     * This method sets the SKU
     * @param sku 
     */
    public void setSku(String sku) {
        this.sku = sku;
    }

    /**
     * This method returns the category of the item
     * @return category
     */
    public String getCategoryID() {
        return categoryID;
    }

    /**
     * sets the category
     * @param categoryID 
     */
    public void setCategoryID(String categoryID) {
        this.categoryID = categoryID;
    }

    /**
     * This method returns the warranty ID
     * @return ID
     */
    public String getWarrantyID() {
        return warrantyID;
    }

    /**
     * sets the warranty ID
     * @param warrantyID 
     */
    public void setWarrantyID(String warrantyID) {
        this.warrantyID = warrantyID;
    }
}
